package day1801;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

public class day10802 {
    public static void main(String[] args) {
        HashMap<Integer,day1802_1> a =new HashMap<>();
        day1802_1 b =new day1802_1("1",12);
        day1802_1 c =new day1802_1("2",13);
        day1802_1 d =new day1802_1("3",14);
        day1802_1 e =new day1802_1("4",15);

        a.put(1,b);
        a.put(2,c);
        a.put(3,d);
        a.put(4,e);

//        Set<Map.Entry<Integer,day1802_1>> w = a.entrySet();
//        for(Map.Entry<Integer, day1802_1> zz:w){
//            System.out.println(zz.toString());
//            System.out.println(zz);
//        }

        Set<Integer> w = a.keySet();
        for(Integer xx:w){
            System.out.println(a.get(xx));
        }


    }
}
